﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WEB_IUS.Clases
{
    public class Util
    {
        public static string invN1_0(Boolean Valor)
        {
            return (Valor==true ? "1" : "0");
        }

        public static Boolean N1_0(string Valor)
        {
            return (Valor == "1" ? true : false);
        }

        public static bool S_N(string Valor)
        {
            return (Valor == "S" ? true : false);
        }

        public static string invS_N(Boolean Valor)
        {
            return (Valor == true ? "S" : "N");
        }

    }
}